{extend name="public:index"/} {block name="title"}{:sysconf('title')}{/block} {block name="content"}
<section class="whtop">
    <div class="top">
        <p class="p1">
            <a href="javascript:history.back(-1)"></a>
        </p>
        <p class="p2">业绩统计</p>
        <p class="p3"></p>
    </div>
</section>
<section style=""></section>
<section class="ncbj_caipro4">
    <!-- <div class="httop">
        <p class="p1 canp1">一级代理</p>
        <p class="p2">二级代理</p>
        <p class="p2">三级代理</p>
    </div> -->
    <div style="height: 2rem;"></div>
    <div class="caiprobox">
        <div class="caipro">
            <div class="caipromain">
                {if condition="$list"}
                <dl>
                    <dt></dt> {foreach name="$list" item="vo"}
                    <dd>
                        <p class="p1" style="padding:0 0.5rem;">
                            <span class="span1" style="padding-left: 0;">{$vo['user_nickname']}</span>
                            <span class="span2" style="text-align: right;width: 6.5rem;color: #ff0000;">￥{$vo.pay_money}</span>
                            <span class="span2" style="text-align: left;">{$vo.pay_time}</span>
                        </p>
                    </dd>
                    {/foreach}
                </dl>
                {else/}
                <div class="nofind"><img src="__INDEX__/images/nosp.png" alt="">
                    <p>暂时没有记录</p>
                </div>
                {/if}
            </div>
            <!-- <div class="caipromain caipromain1">
                {if condition="$list[2]"}
                <dl>
                    <dt></dt>
                    {foreach name="$list[2]" item="vo"}
                    <dd>
                        <p class="p1">
                            <span class="span1">{$vo['user_nickname']}
                                {eq name="vo.type" value="0"} ( 粉丝 ){/eq}
                                {eq name="vo.type" value="1"} ( 代言人 ){/eq}
                            </span>
                            <span class="span2">{$vo.add_time}</span>
                        </p>
                    </dd>
                    {/foreach}
                </dl>
                {else/}
                <div class="nofind"><img src="__INDEX__/images/nosp.png" alt=""><p>暂时没有记录</p></div>
                {/if}
            </div>
            <div class="caipromain caipromain1">
                {if condition="$list[3]"}
                <dl>
                    <dt></dt>
                    {foreach name="$list[3]" item="vo"}
                    <dd>
                        <p class="p1">
                            <span class="span1">{$vo['user_nickname']}
                                {eq name="vo.type" value="0"} ( 粉丝 ){/eq}
                                {eq name="vo.type" value="1"} ( 代言人 ){/eq}
                            </span>
                            <span class="span2">{$vo.add_time}</span>
                        </p>
                    </dd>
                    {/foreach}
                </dl>
                {else/}
                <div class="nofind"><img src="__INDEX__/images/nosp.png" alt=""><p>暂时没有记录</p></div>
                {/if}
            </div> -->
        </div>
    </div>
</section>
<script>
    $('.ncbj_caipro4 .httop p').click(function() {
        var thi = $(this).index();
        $('.caipro .caipromain').hide();
        $('.caipro .caipromain').eq(thi).show();
        $(this).addClass('canp1').siblings().removeClass('canp1');
    });
</script>
<section style="height:2rem;"></section>
{/block}